// ----------------------------------------------------------------------------
//
// A class that implements the event arguments for the WakeUp event.
//
// ----------------------------------------------------------------------------
using System;
using System.Collections.Generic;
using System.Text;

namespace WERServices
{
    /// <summary>
    /// A class that implements the event arguments for the WakeUp event.
    /// </summary>
    public class WakeUpEventArgs : EventArgs
    {
        #region Fields
        private Alarm alarm;
        #endregion Fields

        #region Constructors
        /// <summary>
        /// Constructor the creates the event arguments.
        /// </summary>
        /// <param name="alarm">Alarm object containing the alarm information.</param>
        public WakeUpEventArgs(Alarm alarm)
        {
            this.alarm = alarm;
        }
        #endregion Constructors

        #region Properties
        /// <summary>
        /// Gets the alarm object associated with the event arguments.
        /// </summary>
        public Alarm Alarm
        {
            get { return this.alarm; }
        }
        #endregion Properties
    }
}
